/* =========================================
   HARDEV INDUSTRIES - CHAFF CUTTER
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f5f8fa;
    color: #222;
    line-height: 1.6;
}


/* =========================================
   HERO
   ========================================= */

.hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 70px 20px;

    background:
        linear-gradient(
            135deg,
            rgba(0, 132, 214, 0.97),
            rgba(0, 91, 150, 0.95)
        );

    color: white;

    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    border: 70px solid rgba(255, 255, 255, 0.05);

    top: -250px;
    right: -150px;
}

.hero::after {
    content: "";
    position: absolute;

    width: 350px;
    height: 350px;

    border-radius: 50%;

    border: 50px solid rgba(255, 255, 255, 0.04);

    bottom: -220px;
    left: -120px;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 3px;

    margin-bottom: 12px;

    opacity: 0.9;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 68px);

    line-height: 1.1;

    font-weight: 700;

    margin-bottom: 20px;
}

.hero p {
    max-width: 700px;

    margin: auto;

    font-size: 17px;

    font-weight: 300;

    opacity: 0.95;
}


/* =========================================
   PRODUCTS SECTION
   ========================================= */

.products-section {
    max-width: 1200px;

    margin: auto;

    padding: 80px 25px 90px;
}

.section-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2px;

    color: #0084d6;

    margin-bottom: 8px;
}

.section-heading h2 {
    font-size: 36px;

    font-weight: 700;

    color: #17212b;

    margin-bottom: 10px;
}

.section-heading p {
    color: #66727d;

    font-size: 15px;
}


/* =========================================
   PRODUCT GRID
   ========================================= */

.products-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 35px;

    max-width: 1000px;

    margin: auto;
}


/* =========================================
   PRODUCT CARD
   ========================================= */

.product-card {
    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid #e5ebef;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.12);
}


/* =========================================
   PRODUCT IMAGE
   ========================================= */

.product-image {
    width: 100%;

    height: 360px;

    background: #f4f7f9;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    overflow: hidden;
}

.product-image img {
    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}


/* =========================================
   PRODUCT CONTENT
   ========================================= */

.product-content {
    text-align: center;

    padding: 25px 25px 30px;
}

.product-content h3 {
    font-size: 23px;

    color: #17212b;

    font-weight: 600;

    margin-bottom: 20px;
}


/* =========================================
   DOWNLOAD BUTTON
   ========================================= */

.download-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 48px;

    padding: 12px 22px;

    border-radius: 8px;

    background: #0084d6;

    color: white;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition:
        background 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
}

.download-btn span {
    font-size: 17px;
}

.download-btn:hover {
    background: #006eae;

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(0, 132, 214, 0.25);
}


/* =========================================
   CONTACT SECTION
   ========================================= */

.contact-section {
    padding: 70px 25px;

    background: #eef5f9;

    text-align: center;
}

.contact-content {
    max-width: 700px;

    margin: auto;
}

.contact-content h2 {
    font-size: 30px;

    color: #17212b;

    margin-bottom: 10px;
}

.contact-content p {
    color: #65727c;

    font-size: 15px;

    margin-bottom: 25px;
}


/* =========================================
   BACK BUTTON
   ========================================= */

.back-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 25px;

    border: 2px solid #0084d6;

    border-radius: 8px;

    color: #0084d6;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #0084d6;

    color: white;

    transform: translateY(-2px);
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #111c24;

    color: #aeb9c1;

    text-align: center;

    padding: 22px 15px;

    font-size: 13px;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 800px) {

    .products-grid {
        grid-template-columns: 1fr;

        max-width: 600px;
    }

    .product-image {
        height: 350px;
    }

    .hero {
        min-height: 350px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 500px) {

    .hero {
        min-height: 320px;

        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 14px;
    }

    .products-section {
        padding: 60px 15px 70px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .product-image {
        height: 280px;

        padding: 20px;
    }

    .product-content {
        padding: 22px 15px 25px;
    }

    .product-content h3 {
        font-size: 21px;
    }

    .download-btn {
        width: 100%;

        font-size: 13px;
    }

    .contact-section {
        padding: 55px 20px;
    }

    .contact-content h2 {
        font-size: 26px;
    }

}